rendernodeparser: Parse cairo script
authorBenjamin Otte <otte@redhat.com>
Tue, 28 May 2019 03:51:20 +0000 (05:51 +0200)
committerBenjamin Otte <otte@redhat.com>
Thu, 30 May 2019 13:32:36 +0000 (15:32 +0200)
commit1e0c0c0ba7232af75b10f0b6b7185a0ca7bd921f
tree931cb6da37731fe0b0516a930611d0ea3c7836a0
parent2f3720748710f0d496ccce848efb62057a83f22a
rendernodeparser: Parse cairo script

Use cairo-script-interpreter to parse the scripts that generate cairo
nodes.

This requires libcairoscriptinterpreter.so to work properly, but if
it isn't found we disable this (unimportant for normal functioning)
code and just emits a parser warning.
The testsuite requires it however or it will fail.

A new test is included that tests all of this.
config.h.meson
gsk/gskrendernodeparser.c
gsk/meson.build
gtk/css/gtkcssenums.h
meson.build
testsuite/gsk/compare/scaled-cairo.node [new file with mode: 0644]
testsuite/gsk/compare/scaled-cairo.png [new file with mode: 0644]
testsuite/gsk/meson.build